const express = require('express');
const router = express.Router();
const {server} = require("../../controllers");
const { verifyToken } = require("../verifyToken");

// 获取标签
router.post('/getLabel', (req, res) => server.getLabel(req, res));
// 新建标签
router.post('/addLabel', verifyToken, (req, res) => server.addLabel(req, res));
// 删除标签
router.post('/deleteLabel', verifyToken, (req, res) => server.deleteLabel(req, res));

module.exports = router;
  